package sk.marek.barak.server;

import java.util.List;

import sk.marek.barak.client.ThoughtService;
import sk.marek.barak.client.UserThought;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class ThoughtServiceImpl extends RemoteServiceServlet implements
		ThoughtService {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5592259866549400540L;

	@Override
	public List<UserThought> getUserThoughts(String userID) {
		return Facade.getUserThoughts(userID);
	}

	@Override
	public UserThought saveThought(String text) {
		return Facade.saveThought(text);
	}

	@Override
	public void deleteThought(String key) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<UserThought> getUsersThought(List<String> usersID) {
		return Facade.getUsersThought(usersID);
	}

	
}
